<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="sysDefault" />
<script
	src="${staticPath}/lib/jquery-datatables/1.9.4/js/jquery.dataTables.min.js"
	type="text/javascript"></script>
	<link href="${staticPath}/lib/datetimepicker/0.0.11/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css">
	<link href="${staticPath}/lib/chosen/1.1.0/chosen.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" href="${staticPath}/lib/ztree/3.5/css/zTreeStyle/zTreeStyle.css" type="text/css">
	<script src="${staticPath}/lib/ztree/3.5/js/jquery.ztree.all-3.5.js" type="text/javascript"></script>
	<script src="${staticPath}/js/jquery-dialog.js" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(function() {
	});
	function funform(url, target) {
		window.open(url, target);
	}
</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">
							楼层附件列表
							<button class="btn btn-success btn-sm pull-right" onclick="funform('${contextPath}/sys/base/floorAtt/addAttFloor','_self');">新增</button>
						</h3>
					</div>
			<%-- 			<form:form id="dataForm" name="listForm" modelAttribute="sysBaseFloor"
							action="${contextPath}/sys/base/floor/getFloorList"
							class="navbar-form navbar-left" role="search" method="get">
							<div class="form-group">
								<form:input path="name" class="form-control" placeholder="楼层名称" />
							</div>
							<div class="form-group">
								<form:input path="floorNo" class="form-control"
									placeholder="楼层编码" />
							</div>
							<div class="form-group">
								<form:input path="cityCode" class="form-control" placeholder="城市编码" />
							</div>
							<button class="btn btn-primary" type="submit">查询</button>
						</form:form> --%>
					<tags:message content="${message}" />
					<table class="table table-striped table-bordered table-hover">
					<thead>
					</thead>
						<thead>
							<tr>
								<th>门店编码</th>
								<th>门店名称</th>
								<th>楼层编码</th>
								<th>楼层名称</th>
								
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="floor" items="${page.list}" varStatus="i">
								<tr>
									<td>${floor.shopNo}</td>
									<td>${floor.baseShop.name}</td>
									<td>${floor.floorNo }</td>
									<td>${floor.baseFloor.name}</td>
									<td><a
										href="${contextPath}/sys/base/floorAtt/viewFloor?id=${floor.id}">查看</a>
										<a
										href="${contextPath}/sys/base/floorAtt/updateFloor?id=${floor.id}">修改</a>
									    <a href="${contextPath}/sys/base/floorAtt/deleteFloor?id=${floor.id}" onclick="return Oosp_Confirm('确认要删除该条数据吗？', this.href)">删除</a>
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
					<div class="panel-footer">
						<pager:pager pageSize="${page.pageSize}" pageNo="${page.pageNo}"
							url="" total="${page.total}" />
						<script type="text/javascript" src="${staticPath}/js/list.js"></script>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>